package test.core.db;

import org.junit.Test;

import hyl.core.net.pg.Netpg2Msgs1;

public class testpg {
	@Test
	public void test1() {
		Netpg2Msgs1 pg=new Netpg2Msgs1();
		byte[] bb="现在从V".getBytes();
		pg.set(2, bb, "123","234","abc");
		byte [] b1= pg.toSendBytes();
		Netpg2Msgs1 pg2=new Netpg2Msgs1();
		pg2.ini(b1);
		System.out.println(pg2);
		System.out.println(new				String (pg2.getB参数()));
	}
}
